import json
cloud = {}
with open('./天气预报json.txt','r',encoding='utf-8') as f:
    cloud = json.loads(f.read())
    f.close()

result_str = "苏州未来第{0}天 : 日期: {1} ; 温度为: {2} ; 天气为 :{3}"
inner = cloud['result']['future']
for i in range(len(inner)):
    if i<3:
        print(result_str.format(i+1,inner[i]['date'],inner[i]['temperature'],inner[i]['weather']))